package com.easylinkin.linkappapi.quality.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.quality.dto.QualityAppraisingExcellentDTO;
import com.easylinkin.linkappapi.quality.dto.QualityAppraisingExcellentPhotoAlbumDTO;
import com.easylinkin.linkappapi.quality.dto.QualityAppraisingExcellentPhotoAlbumQueryDTO;
import com.easylinkin.linkappapi.quality.entity.QualityAppraisingExcellent;

/**
 * <p>
 * 质量评优信息 服务类
 * </p>
 *
 * @author Xiaoyang
 * @since 2022-09-01
 */
public interface QualityAppraisingExcellentService extends IService<QualityAppraisingExcellent> {

  boolean saveOne(QualityAppraisingExcellent qualityAppraisingExcellent);

  IPage<QualityAppraisingExcellentDTO> selectDtoPage(Page page, QualityAppraisingExcellentDTO customQueryParams);

  IPage<QualityAppraisingExcellentPhotoAlbumDTO> selectPhotoAlbumByPage(Page page,QualityAppraisingExcellentPhotoAlbumQueryDTO queryDTO);

  int photoAlbumCount(QualityAppraisingExcellentPhotoAlbumQueryDTO queryDTO);

  String exportPhotoAlbum(QualityAppraisingExcellentPhotoAlbumQueryDTO dto);

  QualityAppraisingExcellentDTO findById(Long id);
}
